
<div class="menu_preview_area" style="">
<div class="mobile_menu_preview">
    <div class="mobile_hd tc"><?php echo C('SITE_NAME'); ?></div>
    <div class="mobile_bd">
        <ul class="pre_menu_list grid_line ui-sortable ui-sortable-disabled" id="menuList">
		 <template v-for='(parentid,items) in menus'>
		     <li id="child-{{ parentid }}" class="child jsMenu pre_menu_item grid_item jslevel1 ui-sortable ui-sortable-disabled size1of3" id="menu_2">
		     	<a v-on:click="menuparent($event)" parentid="{{ parentid }}"  href="#" class="pre_menu_link" draggable="false">
		            <i class="icon_menu_dot js_icon_menu_dot dn"></i>
		            <i class="icon20_common sort_gray"></i>
		            {{ items.name }}
		        </a>
		     	<div class="sub_pre_menu_box js_l2TitleBox">
		     	<ul class="sub_pre_menu_list">
				    <template v-for="(childid,item) in items.sub_button">
				    	 <li id="child-{{ parentid +'-'+childid }}" class="jslevel2 child" v-bind:class="{'current':false}"><a  class="jsSubView" ><span style="display:block" v-on:click="menuchild($event)" parentid="{{ parentid }}" childid="{{ childid }}" class="js_l2Title">{{item.name}}</span></a></li>
				    </template>
				     <li class="js_addMenuBox"><a class="jsSubView js_addL2Btn" ><span v-on:click='addchild($event)' id="{{ parentid }}" class="sub_pre_menu_inner js_sub_pre_menu_inner">+</span></a></li>
			    </ul>
			    <i class="arrow arrow_out"></i>
		        <i class="arrow arrow_in"></i>
		        </div>
		    </li>
		  </template>
                <li 
                    v-if='menus.length<3'
                    class="child jsMenu pre_menu_item grid_item jslevel1 ui-sortable ui-sortable-disabled size1of3" id="menu_2">
		     	<a  
                            v-on:click='addmenu'
                            class="pre_menu_link" draggable="false">
		            <i class="icon20_common sort_gray"></i>
		            +
		        </a>
		    </li>
                    
		</ul>
	</div>
</div>
		<div style="text-align:center" class="tool_bar tc js_editBox">
            <span v-on:click="submit" id="pubBt" class="btn btn_input btn_primary" style="display: inline-block;"><button>保存并发布</button></span>
        </div>
</div>


